#ifndef COMPONENT_H_
#define COMPONENT_H_

namespace Pantsu {

	class GameObject;
	class Component {
		
	public:
		virtual void Update( float i_deltaTime ) = 0;
		
		inline void SetOwner( GameObject *i_owner ) {
			m_pGameObjectOwner = i_owner ;
		}

		inline GameObject *GetOwner() {
			return m_pGameObjectOwner;
		}
	private:
		GameObject *m_pGameObjectOwner;
	};
}

#endif